﻿using System;
using System.Collections.Generic;
using VisionCloud.Domain.Common;

namespace VisionCloud.Domain.DtoModel.Sys
{
    public class SysUserRoleDto : SysBaseDto
    {
        public Guid UserRoleId { get; set; }

        public Guid RoleId { get; set; }
        public Guid NewRoleId { get; set; }
        public Guid UserId { get; set; }

        public string UserName { get; set; }
        public string RoleName { get; set; }

        public Guid AppId { get; set; }
    }

    /// <summary>
    /// 查询条件对象
    /// </summary>
    public class SysUserRoleCondition : PageBase
    {
        public Guid AppId { get; set; }

        public List<string> AppCodes { get; set; }
        public Guid UserId { get; set; }

        public Guid RoleId { get; set; }

        public bool IsDeleted { get; set; } = false;
    }
}